#!/bin/sh

if test -n "$1"; then
  mkdir -p "$1"
  O="$1/"
fi
O="${O}configure"

aclocal -Im4
autoconf -o $O
rm -f aclocal.m4
rm -rf autom4te.cache/
